<%@ taglib prefix='c' uri='http://java.sun.com/jstl/core_rt' %>
<%@ page import="org.springframework.security.ui.AbstractProcessingFilter" %>
<%@ page import="org.springframework.security.ui.webapp.AuthenticationProcessingFilter" %>
<%@ page import="org.springframework.security.AuthenticationException" %>
 
 
    <c:if test="${not empty param.login_error}">
      <font color="red">
        Your login attempt was not successful, try again.<br/><br/>
        Reason: ${SPRING_SECURITY_LAST_EXCEPTION.message}.
      </font>
    </c:if>
 
    <form name="f" action="j_spring_security_check" method="POST">
    <center>
      <table id="rounded-corner">
      <tr><th scope="col" class="rounded-company">&nbsp;</th>
			<th scope="col" class="rounded-q4">&nbsp;</th></tr>
	<tfoot>
		<tr>
			<td class="rounded-foot-left"><input name="submit" type="submit"></td>
			<td class="rounded-foot-right"><input name="reset" type="reset"></td>
		</tr>
	</tfoot>
	<tbody>
        <tr><td>User:</td><td><input type='text' name='j_username' value='<c:if test="${not empty param.login_error}"><c:out value="${SPRING_SECURITY_LAST_USERNAME}"/></c:if>'/></td></tr>
        <tr><td>Password:</td><td><input type='password' name='j_password'></td></tr>
        <tr><td style="align:right"><input type="checkbox" name="_spring_security_remember_me"></td><td>Remember me on this computer</td></tr>
	</tbody>
      </table>
    </center>
    </form>
